#ifndef _CONCRETECOLLEAGUE2_H_
#define _CONCRETECOLLEAGUE2_H_

#include "Colleague.h"
#include "Mediator.h"

#include <iostream>

class ConcreteColleague2 : public Colleague
{
public:
    ConcreteColleague2(Mediator* mediator)
        :Colleague(mediator)
    {}

    void send(string message) {
        std::cout << "ConcreteColleague1::send" << std::endl;
        GetMediator()->send(message, this);
    }

    void Notify(string message) {
        std::cout << "Colleague2 recive : " << message << std::endl;
    }
private:
    Mediator* _mediator;
};

#endif // _CONCRETECOLLEAGUE2_H_